package com.jianyushe.mysqltest.controller;

import com.jianyushe.mysqltest.service.impl.CourseServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.stereotype.Controller;

/**
 * <p>
 *  前端控制器
 * </p>
 *
 * @author Alvin
 * @since 2022-05-08
 */
@Controller
@RequestMapping("/course")
public class CourseController {

    @Autowired
    CourseServiceImpl courseService;

    @RequestMapping("/courseTest")
    public void courseTest(){
        courseService.test();
    }
}
